﻿namespace JNPF.Basics.Models.CodeBuilder.Template2
{
    /// <summary>
    /// 表单字段
    /// 版 本：V3.0.0
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// </summary>
    public class FormControlModel
    {
        /// <summary>
        /// 表单Tab
        /// </summary>
        public string Tab { get; set; }
        /// <summary>
        /// 控件
        /// </summary>
        public string Control { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 字段
        /// </summary>
        public string Field { get; set; }
        /// <summary>
        /// 验证
        /// </summary>
        public string[] Check { get; set; }
        /// <summary>
        /// 提示信息
        /// </summary>
        public string Placeholder { get; set; }
        /// <summary>
        /// 跨列
        /// </summary>
        public int? Colspan { get; set; }
        /// <summary>
        /// 是否隐藏
        /// </summary>
        public int? IsHide { get; set; }
        /// <summary>
        /// 高度
        /// </summary>
        public int? Height { get; set; }
        /// <summary>
        /// 数据来源
        /// </summary>
        public string DataSource { get; set; }
        /// <summary>
        /// 数据来源 - 数据集合
        /// </summary>
        public string[] DataSourceList { get; set; }
        /// <summary>
        /// 数据来源 - 数据字典
        /// </summary>
        public string DataSourceDictionary { get; set; }
        /// <summary>
        /// 数据来源 - 数据字典IsTree
        /// </summary>
        public int? DataSourceDictionaryIsTree { get; set; }
        /// <summary>
        /// 数据集合
        /// </summary>
        public string[] List { get; set; }
        /// <summary>
        /// 日期格式
        /// </summary>
        public string DateFormat { get; set; }
        /// <summary>
        /// 默认值
        /// </summary>
        public string Defaults { get; set; }
        /// <summary>
        /// 文件格式
        /// </summary>
        public string[] Extension { get; set; }
        /// <summary>
        /// 当前数据
        /// </summary>
        public string Provider { get; set; }
    }
}